﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.Infrastructure.Common;
using Zocono.WCS.Domain.PlcBytesObject;
using Zocono.WCS.Domain.ProcessModuleDomain;

namespace Zocono.WCS.Domain.EquipmentProcessDomain.PlanarGeneralMessage
{
    public class WaitActionService : IPlanarGeneralPlcActionProcessService
    {
        private readonly ILogUtil _LogUtil;

        public WaitActionService(ILogUtil logUtil)
        {
            _LogUtil = logUtil;
        }

        public Task ProcessActionMessageAsync(BytesObjectBase plcActionMessage, BytesObjectBase wcsActionMessage, EquipmentDbObject planarEquipmentDbObject/*, BytesObjectBase plcStateMassge*/)
        {
            /*
            * 处理逻辑
            * 无需变更数据，记录执行日志
            */
            //_LogUtil.Info($"等待执行(WaitActionService.ProcessActionMessageAsync)处理成功：设备{plcActionMessage.EquipmentCode}等待执行");

            return Task.CompletedTask;

        }
    }
}
